package com.genreate.util.pay.wx.exception;

import com.wechat.pay.java.core.exception.HttpException;
import com.wechat.pay.java.core.exception.MalformedMessageException;
import com.wechat.pay.java.core.exception.ServiceException;

/**
 * 适配服务调用的函数式接口（无参数时使用）
 */
@FunctionalInterface
public interface ServiceExecutor<T> {
    T execute() throws HttpException, ServiceException, MalformedMessageException;
}